import java.io.FileNotFoundException;
import java.lang.reflect.Method;

public class Main {
    public static void main(String[] args) throws Exception {
        Person person = new Person();
        person.setName("John");
        Report report=person.getClass().getAnnotation(Report.class);

        int type = report.type();
        System.out.println(type);

        Method m=Person.class.getMethod("setName", String.class);
        Report report1=m.getAnnotation(Report.class);

        String name=report1.level();
        System.out.println(name);
    }
}
